-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update directory structure #599
Conversation
This PR moves around several files in order to remove #![allow(legacy_directory_ownership)]. This will prevent breakage when the legacy_directory_ownership warning becomes a hard error.
Instead of doing renames like src/aead/aead.rs → src/aead/mod.rs, please do renames like src/aead/aead.rs → src/aead.rs, using the new path rules. |
@briansmith Oh, so you'd like to enable |
Sure, but the code needs to work in Stable Rust too. It sounds like the rustc developers need to come up with a migration plan. |
@briansmith If you want this to work in stable rust, the only way to structure it is the way I have here. Once |
@cramertj You can always just move it to the way it was requested and then add a mod.rs to make what should be public public. Id say it would seem even messier though |
They did. If you disagree with it, this doesn't seem like the most productive way to indicate that, considering that ignoring the warnings that you weren't following the plan has broken |
I went ahead and locked this thread to minimize wasted effort on everybody's part. There's a large number of pending changes to ring that I want to merge before I rename any files. I'll try to get all these changes done by the end of January. |
The issue that this PR addresses was fixed in the 0.13.0-alpha release. Closing this. |
This PR moves around several files in order to
remove #![allow(legacy_directory_ownership)].
This will prevent breakage when the
legacy_directory_ownership warning becomes a hard
error.
cc #598